Skip to content

Skip empty values #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Skip empty values #117

wants to merge 2 commits into from

Conversation

chmac
Copy link

@chmac chmac commented Jul 5, 2025

I wrote this in the GitHub UI, so somebody should run the tests, etc, before this gets merged!

I think this should be safe, beause I believe an empty parameter will crash isomorphic-form-data. But I don't know this codebase at all, so this is just an off the cuff guess.

fix #116

@chmac
Copy link
Author

chmac commented Jul 5, 2025

I realised that false and 0 were being skipped, which they shouldn't be, the first commit introduced weird bugs into my code. I'm currently using the version in the second commit and it seems to be working for me. But it's still untested!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

callOnEachEvent throws if eventTypes is null
1 participant